<?
foreach($arResult["BASKET_ITEMS"]  as $k => $arBasketItems) {
	$arResult["BASKET_ITEMS"][$k]["SUM_FORMATED"] = FormatCurrency($arBasketItems["PRICE"]*$arBasketItems["QUANTITY"], $arBasketItems["CURRENCY"]);
	
	if(CModule::IncludeModule ('iblock'))
   { 
   // BASKET_ITEMS  int  PREVIEW_PICTURE   SRC
   $offers_element = GetIBlockElement($arBasketItems["PRODUCT_ID"]);
   $base_id = $offers_element["PROPERTIES"]["CML2_LINK"]["VALUE"];
   $ar_base = GetIBlockElement($base_id);
   $image = CFile::GetPath($ar_base["PREVIEW_PICTURE"]);
   $arResult["BASKET_ITEMS"][$k]["PREVIEW_PICTURE"]["SRC"] = $image;
    
   }
   

	
}
?>